<%@ page import="com.wuchao.service.serviceimpl.ServiceImpl" %>
<%@ page import="com.wuchao.entity.Pojo" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>欢迎来到1431</title>
    <style>

    </style>
 <script src="js/jquery.js"></script>
</head>
<body>
欢迎来到143143
<a href="/T5">dianwo</a>
<table>
    <tr>
        <th>id</th>
        <th>name</th>
        <th>sex</th>
        <th>age</th>
    </tr>
    <%
        ServiceImpl service=new ServiceImpl();
        List<Pojo> list = service.findPoJo("select * from t143");
        for(Pojo xjj : list){
            %>
    <tr>
        <td><%=xjj.getId()%></td>
        <td><%=xjj.getName()%></td>
        <td><%=xjj.getSex()%></td>
        <td><%=xjj.getAge()%></td>
    </tr>
      <%
        }
    %>

</table>

<script >

    //alert("我是真的想你们好");
</script>
</body>
</html>
